


<div class="content">
    <!--*****************  LEFT  *****************-->
    <div class="columnLeft">
        <div class="content">
            <!--*****************  MENU  *****************-->
            <div class="contentMenu">

                <div class="contentMenuItems">
                    <ul>
                        <li class="contentMenuTitle"><?php __('Actions'); ?></li>
                        <li><?php echo $this->Html->link(__('Edit Country', true), array('action' => 'edit', $country['Country']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Country', true), array('action' => 'delete', $country['Country']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $country['Country']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Countries', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Country', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Companies', true), array('controller' => 'companies', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Company', true), array('controller' => 'companies', 'action' => 'add')); ?> </li>
                        <li class="contentMenuBottom"></li>
                    </ul>
                </div>

            </div>
        </div>
    </div>
    <!--*****************  RIGHT  *****************-->
    <div class="columnRight">
        <div class="content">
            <div class="contentCenter">
                <div class="content">
<div class="countries view">
<h2><?php  __('Country');?></h2>
	<table class="showFields">
		<tr><th><?php __('Id'); ?></th>
		<td>
			<?php echo $country['Country']['id']; ?>
			
		</td></tr>
		<tr><th><?php __('Name'); ?></th>
		<td>
			<?php echo $country['Country']['name']; ?>
			
		</td></tr>
		<tr><th><?php __('Created'); ?></th>
		<td>
			<?php echo $country['Country']['created']; ?>
			
		</td></tr>
		<tr><th><?php __('Modified'); ?></th>
		<td>
			<?php echo $country['Country']['modified']; ?>
			
		</td></tr>
	</table>
</div>
                </div>
            </div>
        </div>
    </div>


</div>
<div class="clear"></div>

<div class="contentCenter">
    <h2 class="showNextDiv pointer"><?php __('Related'); ?></h2>
    <div class="isHidden">
<div class="related">
	<h3><?php __('Related Companies');?></h3>
	<?php if (!empty($country['Company'])):?>
	<table class="formstatus"><thead>
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Title'); ?></th>
		<th><?php __('Site'); ?></th>
		<th><?php __('Activity'); ?></th>
		<th><?php __('Department'); ?></th>
		<th><?php __('Code'); ?></th>
		<th><?php __('Country Id'); ?></th>
		<th><?php __('Country'); ?></th>
		<th><?php __('Description'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
        </tr></thead><tbody>
	<?php
		$i = 0;
		foreach ($country['Company'] as $company):
			$class = null;
				if ($i++ % 2 == 0) {
				$class = ' class="pair"';
			}else{
                            $class = ' class="impair"';
                        }
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $company['id'];?></td>
			<td><?php echo $company['title'];?></td>
			<td><?php echo $company['site'];?></td>
			<td><?php echo $company['activity'];?></td>
			<td><?php echo $company['department'];?></td>
			<td><?php echo $company['code'];?></td>
			<td><?php echo $company['country_id'];?></td>
			<td><?php echo $company['country'];?></td>
			<td><?php echo $company['description'];?></td>
			<td><?php echo $company['created'];?></td>
			<td><?php echo $company['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'companies', 'action' => 'view', $company['id']),array('class'=>'details')); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'companies', 'action' => 'edit', $company['id']),array('class'=>'edit')); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'companies', 'action' => 'delete', $company['id']), array('class'=>'FormDelete'), sprintf(__('Are you sure you want to delete # %s?', true), $company['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</tbody></table>
<?php endif; ?>

	<div class="showNextBtn"><?php echo $this->Html->link(__('New Company', true), array('controller' => 'companies', 'action' => 'add'));?> </div>
</div>
    </div>
</div>


